package com.kkd.springcloud.service;

import com.kkd.springcloud.pojo.Dept;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

public interface DeptService {
    //增加
    public int addDept(Dept dept);
    //通过id查询
    public Dept queryDeptById(long id);
    //查询所有部门
    public List<Dept> queryDepts();
}
